package com.sanjin.dubbo.serialization;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * @author: jiangxch
 * @date: 2021/2/14 上午3:03
 */
public interface Serialization {
    ObjectOutput getSerialization(OutputStream outputStream) throws IOException;
    
    ObjectInput getDeserialization(InputStream inputStream) throws IOException;
}
